package util.form.respuesta.listener;

import util.form.respuesta.Input2;

public abstract class ValorCommand2 
implements ValorCommand<Input2>
{
	public void execute(Input2 in) throws Exception {
		execute(in.getInput1().getValor(),in.getInput2().getValor());
	}
	
	public void executeRelevante(Input2 in) throws Exception {
		execute(in.getInput1().getValorRelevante(),in.getInput2().getValorRelevante());
	}
	
	public abstract void execute(String valor1, String valor2) throws Exception;
	
}
